package com.tj.api.rest.user.response;

import com.tj.bo.common.conf.api.ResponseData;
import com.tj.template.application.user.output.UserActivityPopupVO;

/**
 * @program: binary-option
 * @description
 * @author: frank
 * @create: 2020-08-28 15:17
 **/
public class UserActivityPopupResponse implements ResponseData {

    private Long popupId;
    /**
     * 0:提示性弹窗 1：引导弹窗
     */
    private Integer popupType;
    private String url;
    private String imgUrl;
    private String buttonImgUrl;
    private String buttonText;


    public UserActivityPopupResponse(UserActivityPopupVO userActivityPopup) {
        this.popupId = userActivityPopup.getPopupId();
        this.popupType = userActivityPopup.getPopupType();
        this.url = userActivityPopup.getUrl();
        this.buttonText = userActivityPopup.getButtonText();
        this.imgUrl = userActivityPopup.getImgUrl();
        this.buttonImgUrl = userActivityPopup.getButtonImgUrl();
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public UserActivityPopupResponse setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
        return this;
    }

    public String getButtonImgUrl() {
        return buttonImgUrl;
    }

    public UserActivityPopupResponse setButtonImgUrl(String buttonImgUrl) {
        this.buttonImgUrl = buttonImgUrl;
        return this;
    }

    public Integer getPopupType() {
        return popupType;
    }

    public UserActivityPopupResponse setPopupType(Integer popupType) {
        this.popupType = popupType;
        return this;
    }

    public Long getPopupId() {
        return popupId;
    }

    public UserActivityPopupResponse setPopupId(Long popupId) {
        this.popupId = popupId;
        return this;
    }

    public String getUrl() {
        return url;
    }

    public UserActivityPopupResponse setUrl(String url) {
        this.url = url;
        return this;
    }

    public String getButtonText() {
        return buttonText;
    }

    public UserActivityPopupResponse setButtonText(String buttonText) {
        this.buttonText = buttonText;
        return this;
    }
}
